package se.thoka.twt.server.item;

import se.thoka.twt.client.users.AbstractUser;
import se.thoka.twt.shared.exceptions.NoSuchObjectException;

public interface AbstractUserDatastore<U extends AbstractUser> {

	U selectById(String id) throws NoSuchObjectException;
	
	U getUserWithPassword(String username, String password) throws NoSuchObjectException;
	
}
